package demo28;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sr=new Scanner(System.in);
        double x=sr.nextDouble();
        double y=sr.nextDouble();
        double z=sr.nextDouble();
        if(x>=1&&x<=100&&y>=1&&y<=100&&z>=1&&z<=100){
            if(x+y>z&&x-y<z){
                if(x==y&&y==z){
                    System.out.println("Equilateral triangle");
                }else if(x*x+y*y==z*z&&(x==y||x==z||y==z)){
                    System.out.println("Isosceles right-angled triangle");
                }else if(x==y||x==z||y==z){
                    System.out.println("Isosceles triangle");
                }else if(x*x+y*y==z*z){
                    System.out.println("Right-angled triangle");
                }else {
                    System.out.println("General triangle");
                }
            }else {
                System.out.println("Not a triangle");
            }
        }else{
            System.out.println("Wrong Format");
        }
    }
}
